package com.example.demo.mapper;

import com.example.demo.entity.Patient;
import org.springframework.stereotype.Repository;

/**
 * @Author: WinstonDeng
 * @Description:
 * @Date: Created in 9:18 2020/4/8
 * @Modified by:
 */
@Repository
public interface PatientMapper {

    Patient findById(long id);

    Patient findByOpenId(String openId);

    boolean insertPatient(Patient patient);

    boolean updatePatient(Patient patient);
}
